<?php if($news){?>
<div class="box">
	<?php foreach ($news as $new) { ?>
  <div id="article-header"><a href="<?php echo $new['href']; ?>" class="header-left"><?php echo $new['name']; ?></a>
  <div class="header-middle"><div class="header-right">&nbsp;
  		<?php foreach ($new['children'] as $child) { ?>
  			<a href="<?php echo $child['href']; ?>"><?php echo $child['name']; ?></a>
  		<?php }?></div></div>
  		
  </div>

  <div class="box-content">
    <?php if(count($new['articles'])>0){ ?>
	    <div class="article-list">
		    <table>
		    <tr>
		    <?php if($new['articles'][0]){?>
		    
		    
	    	<?php if ($new['articles'][0]['thumb']) { ?>
	    	<td class="left">
		    <div class="image"><a href="<?php echo $new['articles'][0]['href']; ?>"><img src="<?php echo $new['articles'][0]['image']; ?>" title="<?php echo $new['articles'][0]['name']; ?>" alt="<?php echo $new['articles'][0]['name']; ?>" /></a></div>
	    	<?php } ?>
		      <div class="name"><a href="<?php echo $new['articles'][0]['href']; ?>"><?php echo $new['articles'][0]['name']; ?></a></div>
		      <div class="description"><?php echo $new['articles'][0]['description']; ?></div>
	    	</td>
		    <?php }?>
		    <?php if(count($new['articles'])>1){ ?>
		    <td class="right">
		    <ul>
		    	<?php for ($i=1;$i<count($new['articles']);$i++) { ?>
		      	<li><a href="<?php echo $new['articles'][$i]['href']; ?>"><?php echo $new['articles'][$i]['name']; ?></a></li>
		    	<?php } ?>
		    </ul>  
		    </td>
		    <?php }?>
		    <tr>
		    </table>
	  </div>
	  <?php }else{?>
	  	<div><?php echo $text_empty; ?></div>
	  <?php }?>
  </div>
  <?php }?>
</div>
  <?php }?>